package com.moxi.mogublog.redis.prefix.common;

import com.moxi.mogublog.redis.prefix.base.BasePrefix;

/**
 * 模板模式:实现类[登录相关]-LoginKey
 *
 * @author JackLi
 * @version 1.0.0
 * @date 2020-04-21
 */
public class LoginKey extends BasePrefix {

    public static String LOGIN_TOKEN_KEY_PREFIX_STR;

    public static String LOGIN_TOKEN_PREFIX = "LoginTokenKey:login_token_key_";

//

    public LoginKey() {
    }

    public LoginKey(String prefix) {
        super(prefix);
    }

    public LoginKey(String prefix, int expireSeconds) {
        super(prefix, expireSeconds);
    }

    public static final LoginKey LOGIN_TOKEN__KEY_PREFIX = new LoginKey(LOGIN_TOKEN_PREFIX);

    /**
     * 登录限制
     */
    public static final LoginKey LOGIN_LIMIT = new LoginKey("LOGIN_LIMIT");

}
